<div class="table-toolbar">
    <div class="btn-group"> 
        <a class="btn green" href="{:U('edit',array('name'=>$name))}">新 增</a>
        <button class="btn green ajax-post confirm" target-form="ids" url="{:U('del?name='.$name)}">删 除</button>
    </div>
    <div class="btn-group"> 
        <a class="btn green disabled" href="{:U('Addons/execute',array('_addons'=>'BaiduRankTool','_controller'=>'BaiduRankTool','_action'=>'showAll'))}">查看全部</a>
        <a class="btn green" href="{:U('Addons/execute',array('_addons'=>'BaiduRankTool','_controller'=>'BaiduRankTool','_action'=>'bysite'))}">分站点查看</a>
        <a class="btn green" href="{:U('Addons/execute',array('_addons'=>'BaiduRankTool','_controller'=>'BaiduRankTool','_action'=>'sort'))}">排序</a>
    </div>
    <div class="btn-group"> 
        <a class="btn green" href="{:U('Addons/execute',array('_addons'=>'BaiduRankTool','_controller'=>'BaiduRankTool','_action'=>'searchAll'))}">批量查询</a>
    </div>
</div>

<table class="table table-striped table-bordered table-hover" id="sample_{$index}">
    <thead>
        <tr>
            <volist name="list_grid" id="vo">
            <th width="20%">{$vo.title}</th>
            </volist>
        </tr>
    </thead>
    <tbody>
        <volist name="_list" id="lv" key="vo">
        <tr>
            <volist name="list_grid" id="lk">
                <td>{:get_addonlist_field($lv, $lk, $name)}</td>
            </volist>
        </tr>
        </volist>
    </tbody>
</table>
